package com.zut.fitness.controller;


import com.zut.fitness.common.Result;
import com.zut.fitness.service.IClassCategoryService;
import com.zut.fitness.pojo.ClassCategory;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.web.bind.annotation.*;


import java.util.List;

/**
 * 团课标签列表Controller
 * 
 * @author yuanML2018
 * @date 2025-01-04
 */
@RestController
@RequestMapping("/Category")
public class ClassCategoryController
{
    @Autowired
    private IClassCategoryService classCategoryService;

    /**
     * 查询团课标签列表列表
     */

    @GetMapping("/list")
    public Result<List<ClassCategory>> list()
    {
        List<ClassCategory> list = classCategoryService.selectClassCategoryList();
        return Result.success(list);
    }


}
